/*
 * @Description: file content
 * @Author: Wenmin He
 * @Date: 2021-06-25 00:10:41
 * @LastEditors: Wenmin He
 * @LastEditTime: 2021-06-25 02:45:25
 */

/*
* 可通过 $page.handler.xxx 访问这里定义的方法
* 注意：该方法仅在所属的页面有效
* 如果需要 async-await，请修改成 export default async function() {}
*/
import request from "../../../common/request"
export default async function (e) {
  let data = await $page.widgets.uuid_c81b3d83.validate()
  console.log('data', data)
  request({
    url: '/zgt/cjcx/gkcj_cx',
    method: 'GET',
    data,
  }).then(rs => {
    app.navigateTo({
      pageId: 'scoreResult',    // 页面 Id 
      params: rs
    });
  })
}